package com.leigang.common.parent.enums;

import lombok.Getter;

/**
 * @author leig-a
 * @version 1.0
 * @desc
 * @date 2023/3/8 14:57
 */
@Getter
public enum ErrorEnums {
    SUCCESS(0, "请求成功"),
    FAILURE(-1, "服务器异常")
    ;
    private Integer code;
    private String msg;

    ErrorEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
